﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/List.Master" AutoEventWireup="true" CodeBehind="Admin.aspx.cs" Inherits="MTC.Web.Forms.Admin" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>
<%@ Register Src="../Controls/Menu.ascx" TagName="Menu" TagPrefix="uc1" %>
<%@ Register Src="../Controls/NavMenu.ascx" TagName="NavMenu" TagPrefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPHeader" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPNav" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CPMain" runat="server">
    <dxwgv:ASPxGridView ID="grdBodyType" runat="server" AutoGenerateColumns="False" 
        CssFilePath="~/App_Themes/Soft Orange/{0}/styles.css" CssPostfix="Soft_Orange" 
        DataSourceID="objBodyType" KeyFieldName="BodyTypeId">
        <Styles CssFilePath="~/App_Themes/Soft Orange/{0}/styles.css" 
            CssPostfix="Soft_Orange" GroupButtonWidth="28">
            <Header ImageSpacing="5px" SortingImageSpacing="5px">
            </Header>
            <LoadingPanel ImageSpacing="10px">
            </LoadingPanel>
        </Styles>
        <Columns>
            <dxwgv:GridViewCommandColumn VisibleIndex="0">
                <EditButton Visible="True">
                </EditButton>
                <NewButton Visible="True">
                </NewButton>
                <DeleteButton Visible="True">
                </DeleteButton>
            </dxwgv:GridViewCommandColumn>
            <dxwgv:GridViewDataTextColumn FieldName="BodyTypeId" VisibleIndex="1" ReadOnly Visible="false">
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn FieldName="BodyDescription" VisibleIndex="2">
            </dxwgv:GridViewDataTextColumn>
        </Columns>
        <SettingsLoadingPanel Text="" />
        <Images ImageFolder="~/App_Themes/Soft Orange/{0}/">
            <CollapsedButton Height="14px" 
                Url="~/App_Themes/Soft Orange/GridView/gvCollapsedButton.png" Width="13px" />
            <ExpandedButton Height="13px" 
                Url="~/App_Themes/Soft Orange/GridView/gvExpandedButton.png" Width="13px" />
            <DetailCollapsedButton Height="14px" 
                Url="~/App_Themes/Soft Orange/GridView/gvCollapsedButton.png" Width="13px" />
            <DetailExpandedButton Height="13px" 
                Url="~/App_Themes/Soft Orange/GridView/gvExpandedButton.png" Width="13px" />
            <HeaderFilter Height="19px" 
                Url="~/App_Themes/Soft Orange/GridView/gvHeaderFilter.png" Width="19px" />
            <HeaderActiveFilter Height="19px" 
                Url="~/App_Themes/Soft Orange/GridView/gvHeaderFilterActive.png" Width="19px" />
            <HeaderSortDown Height="3px" 
                Url="~/App_Themes/Soft Orange/GridView/gvHeaderSortDown.png" Width="6px" />
            <HeaderSortUp Height="3px" 
                Url="~/App_Themes/Soft Orange/GridView/gvHeaderSortUp.png" Width="6px" />
            <FilterRowButton Height="13px" Width="13px" />
            <CustomizationWindowClose Height="18px" Width="18px" />
            <PopupEditFormWindowClose Height="18px" Width="18px" />
            <WindowResizer Height="12px" 
                Url="~/App_Themes/Soft Orange/GridView/WindowResizer.png" Width="12px" />
            <FilterBuilderClose Height="18px" Width="18px" />
        </Images>
        <SettingsBehavior ConfirmDelete="true" />
        <SettingsPager>
            <AllButton>
                <Image Height="19px" Width="28px" />
            </AllButton>
            <FirstPageButton>
                <Image Height="19px" Width="23px" />
            </FirstPageButton>
            <LastPageButton>
                <Image Height="19px" Width="23px" />
            </LastPageButton>
            <NextPageButton>
                <Image Height="19px" Width="19px" />
            </NextPageButton>
            <PrevPageButton>
                <Image Height="19px" Width="19px" />
            </PrevPageButton>
        </SettingsPager>
        <Paddings Padding="1px" />
        <ImagesEditors>
            <CalendarPrevYear Height="19px" 
                Url="~/App_Themes/Soft Orange/Editors/edtCalendarPrevYear.png" Width="23px" />
            <CalendarPrevMonth Height="19px" 
                Url="~/App_Themes/Soft Orange/Editors/edtCalendarPrevMonth.png" Width="19px" />
            <CalendarNextMonth Height="19px" 
                Url="~/App_Themes/Soft Orange/Editors/edtCalendarNextMonth.png" Width="19px" />
            <CalendarNextYear Height="19px" 
                Url="~/App_Themes/Soft Orange/Editors/edtCalendarNextYear.png" Width="23px" />
        </ImagesEditors>
    </dxwgv:ASPxGridView>
    <asp:ObjectDataSource ID="objBodyType" runat="server" DataObjectTypeName = "MTC.Common.DTO.BodyType"
        SelectMethod="GetBodyTypes" TypeName="MTC.Business.BodyType" 
        DeleteMethod="Delete" InsertMethod="Insert" UpdateMethod="Update"></asp:ObjectDataSource>
    <BR />
    <dxwgv:ASPxGridView ID="grdPlateType" runat="server" AutoGenerateColumns="False" 
        CssFilePath="~/App_Themes/Soft Orange/{0}/styles.css" CssPostfix="Soft_Orange" 
        DataSourceID="objPlateType" KeyFieldName="PlateTypeId">
        <Styles CssFilePath="~/App_Themes/Soft Orange/{0}/styles.css" 
            CssPostfix="Soft_Orange" GroupButtonWidth="28">
            <Header ImageSpacing="5px" SortingImageSpacing="5px">
            </Header>
            <LoadingPanel ImageSpacing="10px">
            </LoadingPanel>
        </Styles>
        <Columns>
            <dxwgv:GridViewCommandColumn VisibleIndex="0">
                <EditButton Visible="True">
                </EditButton>
                <NewButton Visible="True">
                </NewButton>
                <DeleteButton Visible="True">
                </DeleteButton>
            </dxwgv:GridViewCommandColumn>
            <dxwgv:GridViewDataTextColumn FieldName="PlateTypeId" VisibleIndex="1" ReadOnly Visible="false">
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn FieldName="PlateDescription" VisibleIndex="2">
            </dxwgv:GridViewDataTextColumn>
        </Columns>
        <SettingsLoadingPanel Text="" />
        <Images ImageFolder="~/App_Themes/Soft Orange/{0}/">
            <CollapsedButton Height="14px" 
                Url="~/App_Themes/Soft Orange/GridView/gvCollapsedButton.png" Width="13px" />
            <ExpandedButton Height="13px" 
                Url="~/App_Themes/Soft Orange/GridView/gvExpandedButton.png" Width="13px" />
            <DetailCollapsedButton Height="14px" 
                Url="~/App_Themes/Soft Orange/GridView/gvCollapsedButton.png" Width="13px" />
            <DetailExpandedButton Height="13px" 
                Url="~/App_Themes/Soft Orange/GridView/gvExpandedButton.png" Width="13px" />
            <HeaderFilter Height="19px" 
                Url="~/App_Themes/Soft Orange/GridView/gvHeaderFilter.png" Width="19px" />
            <HeaderActiveFilter Height="19px" 
                Url="~/App_Themes/Soft Orange/GridView/gvHeaderFilterActive.png" Width="19px" />
            <HeaderSortDown Height="3px" 
                Url="~/App_Themes/Soft Orange/GridView/gvHeaderSortDown.png" Width="6px" />
            <HeaderSortUp Height="3px" 
                Url="~/App_Themes/Soft Orange/GridView/gvHeaderSortUp.png" Width="6px" />
            <FilterRowButton Height="13px" Width="13px" />
            <CustomizationWindowClose Height="18px" Width="18px" />
            <PopupEditFormWindowClose Height="18px" Width="18px" />
            <WindowResizer Height="12px" 
                Url="~/App_Themes/Soft Orange/GridView/WindowResizer.png" Width="12px" />
            <FilterBuilderClose Height="18px" Width="18px" />
        </Images>
        <SettingsBehavior ConfirmDelete="true" />
        <SettingsPager>
            <AllButton>
                <Image Height="19px" Width="28px" />
            </AllButton>
            <FirstPageButton>
                <Image Height="19px" Width="23px" />
            </FirstPageButton>
            <LastPageButton>
                <Image Height="19px" Width="23px" />
            </LastPageButton>
            <NextPageButton>
                <Image Height="19px" Width="19px" />
            </NextPageButton>
            <PrevPageButton>
                <Image Height="19px" Width="19px" />
            </PrevPageButton>
        </SettingsPager>
        <Paddings Padding="1px" />
        <ImagesEditors>
            <CalendarPrevYear Height="19px" 
                Url="~/App_Themes/Soft Orange/Editors/edtCalendarPrevYear.png" Width="23px" />
            <CalendarPrevMonth Height="19px" 
                Url="~/App_Themes/Soft Orange/Editors/edtCalendarPrevMonth.png" Width="19px" />
            <CalendarNextMonth Height="19px" 
                Url="~/App_Themes/Soft Orange/Editors/edtCalendarNextMonth.png" Width="19px" />
            <CalendarNextYear Height="19px" 
                Url="~/App_Themes/Soft Orange/Editors/edtCalendarNextYear.png" Width="23px" />
        </ImagesEditors>
    </dxwgv:ASPxGridView>
    <asp:ObjectDataSource ID="objPlateType" runat="server" DataObjectTypeName="MTC.Common.DTO.PlateType"
        SelectMethod="GetPlateTypes" TypeName="MTC.Business.PlateType" 
        DeleteMethod="Delete" InsertMethod="Insert" UpdateMethod="Update"></asp:ObjectDataSource>        
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="CPSideBar" runat="server">
    <uc3:NavMenu ID="NavMenu1" runat="server" />
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="CPFooter" runat="server">
</asp:Content>
